﻿using System;
using Microsoft.SharePoint;

namespace SharePoint.Orm {
	public interface IValueTypeConverter {
		T FromListItemValue<T>(SPDataContext ctx, SPListItem listItem, Guid fieldId, object val);
		object ToListItemValue<T>(SPDataContext ctx, SPListItem listItem, Guid fieldId, T value);
	}
}
